ComplexIndicatorValue

StockSharp.Algo.Indicators

The complex value of the indicator IComplexIndicator, derived as result of calculation.

继承自: BaseIndicatorValue

实现: IComplexIndicatorValue, IIndicatorValue, IComparable<IIndicatorValue>, IComparable

构造函数

ComplexIndicatorValue(T, DateTime)

The complex value of the indicator IComplexIndicator, derived as result of calculation.

indicator
Indicator.
time
Time

属性

IsEmpty : bool

No indicator value.

IsFinal : bool

Is the value final (indicator finalizes its value and will not be changed anymore in the given point of time).

Item : IIndicatorValue

Gets a value of inner indicator.

indicator
IIndicator

返回值: IIndicatorValue

TypedIndicator : T

The complex indicator, based on which the value is calculated.

方法

Add(IIndicator, IIndicatorValue)

Add a value of inner indicator.

indicator
IIndicator
value
IIndicatorValue
FromValues(object[])

Convert to indicator value.

values
ToValues
GetValue``1(Level1Fields?)

To get the value by the data type.

field
Field specified value source.

返回值: Value.

SetInnerDecimal(IIndicator, DateTime, decimal?, bool)

Set the inner value of the indicator as Decimal.

indicator
Inner indicator, for which the value is set.
time
Time of the value, which is set.
value
Value of the indicator as Decimal or if the value is empty.
isFinal
IsFinal
ToValues() : IEnumerable<object>

Convert to primitive values.

返回值: Primitive values.

TryGet(IIndicator, IIndicatorValue) : bool

Try get a value of inner indicator.

indicator
IIndicator
value
IIndicatorValue

返回值: Operation result.